package com.open.capacity.course.dao;

import com.open.capacity.common.model.CourseUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CourseUserDao {
    Integer choice(CourseUser courseUser);

    int isCourseUser(Integer courseId,String username);

    int update(CourseUser courseUser);

    int count(Map<String, Object> params);

    List<CourseUser> getSelectCourseUsers(Map<String, Object> params);
}
